<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>关于邻里 - 我的</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
        }
        
        body {
            background-color: #f5f7fa;
            color: #333;
            line-height: 1.6;
            max-width: 500px;
            margin: 0 auto;
            padding: 0 10px 70px;
        }
        
        /* 顶部导航栏 */
        .header {
            background: linear-gradient(135deg, #4e54c8, #8f94fb);
            color: white;
            padding: 15px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 4px 12px rgba(78, 84, 200, 0.2);
        }
        
        .header-title {
            font-size: 1.2rem;
            font-weight: 600;
        }
        
        .header-icon {
            color: white;
            font-size: 1.2rem;
            text-decoration: none;
        }
        
        /* 社区封面图 */
        .community-cover {
            height: 180px;
            background-color: #eee;
            margin-bottom: 15px;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #999;
            font-size: 3rem;
        }
        
        /* 社区基本信息 */
        .community-basic {
            background-color: white;
            border-radius: 12px;
            padding: 18px;
            margin-bottom: 15px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        }
        
        .community-name {
            font-size: 1.4rem;
            font-weight: 600;
            margin-bottom: 10px;
        }
        
        .community-desc {
            color: #666;
            font-size: 0.95rem;
            line-height: 1.7;
            margin-bottom: 15px;
        }
        
        .community-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            color: #888;
            font-size: 0.9rem;
        }
        
        .meta-item {
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        /* 社区特色 */
        .features-section {
            background-color: white;
            border-radius: 12px;
            padding: 18px;
            margin-bottom: 15px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        }
        
        .section-title {
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 8px;
            color: #4e54c8;
        }
        
        .features-list {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
        }
        
        .feature-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            padding: 15px 10px;
            background-color: #f8f9fa;
            border-radius: 10px;
        }
        
        .feature-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: rgba(78, 84, 200, 0.1);
            color: #4e54c8;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 10px;
            font-size: 1rem;
        }
        
        .feature-name {
            font-size: 0.95rem;
            font-weight: 500;
        }
        
        /* 社区公告 */
        .announcement-section {
            background-color: white;
            border-radius: 12px;
            padding: 18px;
            margin-bottom: 15px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        }
        
        .announcement-item {
            padding: 12px 0;
            border-bottom: 1px solid #f1f1f1;
        }
        
        .announcement-item:last-child {
            border-bottom: none;
        }
        
        .announcement-title {
            font-weight: 500;
            margin-bottom: 5px;
            display: flex;
            justify-content: space-between;
        }
        
        .announcement-date {
            font-size: 0.8rem;
            color: #888;
        }
        
        .announcement-content {
            color: #666;
            font-size: 0.9rem;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        /* 社区活动 */
        .activities-section {
            background-color: white;
            border-radius: 12px;
            padding: 18px;
            margin-bottom: 15px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        }
        
        .activity-item {
            display: flex;
            gap: 12px;
            margin-bottom: 15px;
        }
        
        .activity-item:last-child {
            margin-bottom: 0;
        }
        
        .activity-image {
            width: 80px;
            height: 80px;
            border-radius: 8px;
            background-color: #f1f1f1;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #999;
            flex-shrink: 0;
        }
        
        .activity-content {
            flex: 1;
        }
        
        .activity-title {
            font-weight: 500;
            margin-bottom: 5px;
            font-size: 0.95rem;
        }
        
        .activity-time {
            font-size: 0.8rem;
            color: #888;
            margin-bottom: 5px;
        }
        
        .activity-desc {
            color: #666;
            font-size: 0.9rem;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        /* 底部导航 */
        .bottom-nav {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background-color: white;
            display: flex;
            justify-content: space-around;
            padding: 12px 0;
            box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
            max-width: 500px;
            margin: 0 auto;
        }
        
        .nav-item {
            text-align: center;
            color: #888;
            text-decoration: none;
            font-size: 0.9rem;
        }
        
        .nav-item.active {
            color: #4e54c8;
        }
        
        .nav-item i {
            font-size: 1.2rem;
            display: block;
            margin-bottom: 4px;
        }
    </style>
</head>
<body>
    <!-- 顶部导航 - 改为从我的页面返回 -->
    <div class="header">
        <a href="profile.html" class="header-icon"><i class="fas fa-arrow-left"></i></a>
        <div class="header-title">关于邻里</div>
        <div class="header-icon"><i class="fas fa-share-alt"></i></div>
    </div>
    
    <!-- 社区封面图 -->
    <div class="community-cover">
        <i class="fas fa-building"></i>
    </div>
    
    <!-- 社区基本信息 -->
    <div class="community-basic">
        <div class="community-name">阳光花园小区</div>
        <div class="community-desc">
            阳光花园小区建于2010年，是一个环境优美、邻里和睦的成熟社区。我们倡导"互助、友爱、共享"的社区精神，致力于打造温暖和谐的邻里关系，让每个居民都能感受到家的温暖。
        </div>
        <div class="community-meta">
            <div class="meta-item"><i class="fas fa-map-marker-alt"></i> 北京市朝阳区建国路88号</div>
            <div class="meta-item"><i class="fas fa-users"></i> 居民1200户</div>
            <div class="meta-item"><i class="fas fa-calendar-alt"></i> 建成于2010年</div>
            <div class="meta-item"><i class="fas fa-star"></i> 绿化率35%</div>
        </div>
    </div>
    
    <!-- 社区特色 -->
    <div class="features-section">
        <div class="section-title"><i class="fas fa-star"></i> 社区特色</div>
        <div class="features-list">
            <div class="feature-item">
                <div class="feature-icon"><i class="fas fa-hands-helping"></i></div>
                <div class="feature-name">互助文化浓厚</div>
            </div>
            <div class="feature-item">
                <div class="feature-icon"><i class="fas fa-calendar-check"></i></div>
                <div class="feature-name">定期社区活动</div>
            </div>
            <div class="feature-item">
                <div class="feature-icon"><i class="fas fa-book-reader"></i></div>
                <div class="feature-name">社区图书馆</div>
            </div>
            <div class="feature-item">
                <div class="feature-icon"><i class="fas fa-basketball-ball"></i></div>
                <div class="feature-name">完善运动设施</div>
            </div>
            <div class="feature-item">
                <div class="feature-icon"><i class="fas fa-seedling"></i></div>
                <div class="feature-name">绿化环境优美</div>
            </div>
            <div class="feature-item">
                <div class="feature-icon"><i class="fas fa-shield-alt"></i></div>
                <div class="feature-name">24小时安保</div>
            </div>
        </div>
    </div>
    
    <!-- 社区公告 -->
    <div class="announcement-section">
        <div class="section-title"><i class="fas fa-bullhorn"></i> 社区公告</div>
        <div class="announcement-item">
            <div class="announcement-title">
                <span>关于举办中秋邻里联欢会的通知</span>
                <span class="announcement-date">2024-09-15</span>
            </div>
            <div class="announcement-content">
                中秋佳节将至，社区将于9月29日下午18:30在中心广场举办邻里联欢会，欢迎各位居民踊跃参加，共同庆祝佳节。现场将有美食分享、节目表演和互动游戏等环节。
            </div>
        </div>
        <div class="announcement-item">
            <div class="announcement-title">
                <span>社区图书馆新图书上架通知</span>
                <span class="announcement-date">2024-09-10</span>
            </div>
            <div class="announcement-content">
                社区图书馆新增200本各类图书，包括文学、历史、科普、儿童读物等，欢迎居民前来借阅。开放时间：每日9:00-18:00（节假日不休）。
            </div>
        </div>
    </div>
    
    <!-- 社区活动 -->
    <div class="activities-section">
        <div class="section-title"><i class="fas fa-running"></i> 近期活动</div>
        <div class="activity-item">
            <div class="activity-image"><i class="fas fa-paint-brush"></i></div>
            <div class="activity-content">
                <div class="activity-title">邻里绘画比赛</div>
                <div class="activity-time">2024-10-01 14:00-16:00</div>
                <div class="activity-desc">面向全社区居民的绘画比赛，主题为"我心中的美好家园"，设多个奖项，欢迎各年龄段居民参与。</div>
            </div>
        </div>
        <div class="activity-item">
            <div class="activity-image"><i class="fas fa-utensils"></i></div>
            <div class="activity-content">
                <div class="activity-title">社区美食分享会</div>
                <div class="activity-time">2024-10-15 10:00-12:00</div>
                <div class="activity-desc">带上你最拿手的一道菜，与邻居们一起分享美食，交流厨艺，认识新朋友。</div>
            </div>
        </div>
    </div>
    
    <!-- 底部导航 - 激活"我的"页面 -->
    <div class="bottom-nav">
        <a href="#" class="nav-item">
            <i class="fas fa-home"></i>
            <div>首页</div>
        </a>
        <a href="#" class="nav-item">
            <i class="fas fa-comments"></i>
            <div>社区</div>
        </a>
        <a href="#" class="nav-item">
            <i class="fas fa-store"></i>
            <div>商城</div>
        </a>
        <a href="#" class="nav-item active">
            <i class="fas fa-user"></i>
            <div>我的</div>
        </a>
    </div>

    <script>
        // 点击活动项查看详情
        document.querySelectorAll('.activity-item').forEach(item => {
            item.addEventListener('click', function() {
                const title = this.querySelector('.activity-title').textContent;
                alert(`查看 "${title}" 活动详情`);
            });
        });
        
        // 点击公告查看详情
        document.querySelectorAll('.announcement-item').forEach(item => {
            item.addEventListener('click', function() {
                const title = this.querySelector('.announcement-title span:first-child').textContent;
                alert(`查看 "${title}" 公告详情`);
            });
        });
    </script>
</body>
</html>
    